package com.changzhi.ldyl.model.vo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class PageVo<T> {

	private long total;

	private List<T> dataList = new ArrayList<>();

	public PageVo() {
	}

	public PageVo(List<T> dataList,Long total) {
		this.total = total;
		this.dataList = dataList;
	}
}